<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<#include "include/top.html">
	<link rel="stylesheet" type="text/css" href="${realpath}/resources/css/index.css">
	<title>首页</title>
</head>
<body>
	<#include "include/header.html">
	<div class="main">
		<div class="left">
			<div class="data-list">
				<div class="part-title">
					<a href="${realpath}/bbs" class="part" target="_blank">讨论区</a>
				</div>
					<#list topics.list as topic>
					<div class="data-item">
						<a href="${realpath}/bbs/${topic.topicId?c}" target="_blank" class="tit <#if topic.boolNew==1>new</#if>">${topic.title}</a>
						<span class="time">${topic.createTimeString} By ${topic.userName}</span>
						<div class="read">${topic.commentCount}评/${topic.readCount}阅</div>
					</div>
					<#if (topic_index>=10)>
						<#break>
					</#if>
					</#list>
			</div>
			<div class="data-list">
				<div class="part-title">
					<a href="${realpath}/knowledge" class="part" target="_blank">知识库</a>
				</div>
					<#list knowledges.list as topic>
					<div class="data-item">
						<a href="${realpath}/knowledge/${topic.topicId?c}" target="_blank" class="tit ">${topic.title}</a>
						<span class="time">${topic.createTimeString} By ${topic.userName}</span>
						<div class="read">${topic.commentCount}评/${topic.readCount}阅</div>
					</div>
					<#if (topic_index>=10)>
						<#break>
					</#if>
					</#list>
			</div>
			<div class="data-list">
				<div class="part-title">
					<a href="${realpath}/ask" class="part" target="_blank">问答</a>
				</div>
					<#list asks.list as topic>
					<div class="data-item">
						<a href="${realpath}/ask/${topic.askId?c}" target="_blank" class="tit ">${topic.title}</a>
						<span class="time">${topic.createTimeString} By ${topic.userName}</span>
						<div class="read">${topic.commentCount}评/${topic.readCount}阅</div>
					</div>
					<#if (topic_index>=10)>
						<#break>
					</#if>
					</#list>
			</div>
		</div>
			<div class="right">
				
		        <div class="part-title">
						<a href="${realpath}/blog" class="part">最新博文</a>
				</div>
				<#list blogs.list as blog>
					<div class="data-item">
						<a href="${realpath}/user/${blog.userId?c}/blog/${blog.blogId?c}" target="_blank" class="blog-tit ">${blog.title}</a>
						<span class="blog-time">
							<span class="blog-time-name">by&nbsp;&nbsp;${blog.userName}</span>
							<span class="blog-time-time">${blog.createTimeString}</span>
							<div class="clear"></div>
						</span>
					</div>
				</#list>
				<div class="part-title">
					<a href="javascript:;" class="part">常用工具</a>
				</div>
				<div class="home-tools">
						<a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html" target="_blank">JDK下载</a>
						<a href="http://dlsw.baidu.com/sw-search-sp/soft/ea/12585/mysql_installer_community_V5.6.21.1_setup.1418020972.msi" target="_blank">MySQL下载</a>
						<a href="http://c1.cr173.com/xl/JDK_API_1_6_zh_CN.zip" target="_blank">JDK6中文文档</a>
						<a href="http://pan.baidu.com/s/1kTyYOsf" target="_blank">Jquery中文文档</a>
						<a href="http://eclipse.stu.edu.tw/technology/epp/downloads/release/mars/1/eclipse-jee-mars-1-win32.zip" target="_blank">Eclipse(32位)</a>
						<a href="http://eclipse.stu.edu.tw/technology/epp/downloads/release/mars/1/eclipse-jee-mars-1-win32.zip" target="_blank">Eclipse(64位)</a>
						<a href="https://pan.baidu.com/s/1o6soaj4" target="_blank">Sqlyog破解版(64位)</a>
				</div>
		    </div>

		
		<div class="clear"></div>
	</div>
	<#include "include/footer.html">
</body>
</html>